<?php

namespace App\Models;

use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;

class UserModel extends Authenticatable
{
    use Notifiable;

    protected $table = 'users';

    protected $primaryKey = 'uid';

    protected $fillable = [
        'username', 'email', 'phone', 'avatar', 'introduce', 'site', 'local', 'state', 'created_ip', 'login_ip', 'remember_token'
    ];

    protected $dates = [
        'created_at', 'updated_at', 'login_at'
    ];
}
